﻿<!--{inc(header.view.html)}-->

<div class="content" id="content">
	<div class="top-menu-box">
    	<div class="z">
            <span class="z-f"><a href="#">用户数据</a>&nbsp;&gt;</span>
            <span class="z-f"><a href="#">添加用户</a></span>
            <div class="z-f-r"><span class="user-t">当前语言为：</span><span class="user-info"><?php echo $GLOBALS['langdata'][$GLOBALS['langtype']] ;?></span><!-- <a href="#">退出</a> --></div>
        </div>
        <div class="top-menu">
        	<ul>
                <li><a href="index.php?app=user&act=index"  target="mainframe">用户列表</a></li>
				<li class="current"><a href="#" >添加用户</a></li>				
			
            </ul>
            <div class="clear"></div>
        </div>
    </div>
    
    <div class="main">


<form  method="post" action="?app=user&act=post" >

<table  class="data" >
<tbody>
<tr onMouseOut="this.className=''" onMouseOver="this.className='bgcolor'">
	<td width="30%" >用户名称 :</td>
	<td><input type="text" maxlength="20" value="" name="data[username]"> <span class="red">*</span></td>
</tr>
<tr onMouseOut="this.className=''" onMouseOver="this.className='bgcolor'">
	<td >密码 :</td>
	<td><input type="password" maxlength="20" value="" name="data[password]"> <span class="red">*</span></td>
</tr>
<tr onMouseOut="this.className=''" onMouseOver="this.className='bgcolor'">
	<td >确认密码 :</td>
	<td><input type="password" maxlength="20" value="" name="data[check_passwd]"> <span class="red">*</span></td>
</tr>
<tr onMouseOut="this.className=''" onMouseOver="this.className='bgcolor'">
	<td >E-Mail :</td>
	<td><input type="text" maxlength="50" value="" name="data[email]"> <span class="red">*</span></td>
</tr>
<tr onMouseOut="this.className=''" onMouseOver="this.className='bgcolor'">
	<td >用户组 :</td>
	<td>
	<select name="data[roleid]">
	
  <!--{foreach($roledata as $_key => $_value )}-->
                                           
		<option value="{$_value.value}" <!--{if ($_key==3)}-->selected<!--{/if}-->>{$_value.name}</option>
                
  <!--{/foreach}-->	
	
	</select>
	</td>
</tr>
<tr onMouseOut="this.className=''" onMouseOver="this.className='bgcolor'" >
	<td >用户状态 :</td>
	<td><input type="radio" value="1" id="lock" name="data[locked]"><label for="lock">锁定</label>&nbsp;
	<input type="radio"  value="0" id="open" name="data[locked]" checked="checked"><label for="open">启用</label></td>
</tr>

<tr>
	<td></td>
	<td><input type="submit"  value=" 提 交 "  class="buton">&nbsp;&nbsp;<input type="button" value=" 返 回 " onClick="javascript:history.back();" class="buton"></td>
</tr>
</tbody></table>
</form>   	

        
        <div class="notic"><img  src="{$web_view_dir}style/images/light.gif" align="absmiddle" /> <b>提示: </b>
                                                                  <span ></span></div>
    </div>
</div>
<!--{inc(footer.view.html)}-->